package com.aboo.dao;

import org.apache.log4j.Logger;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

/**
 * @author Yata Aboo
 * @Date 2012-9-17
 * @Desc 基础Dao类，底层Dao类需要继承本类
 */
public class BaseSqlMapDao extends SqlMapClientDaoSupport {
	
	protected Logger logger = Logger.getLogger(this.getClass());

    private SqlMapClientTemplate smcTemplate = this.getSqlMapClientTemplate();

    public BaseSqlMapDao() {

    }

    public SqlMapClientTemplate getSmcTemplate() {
        return smcTemplate;
    }

    public void setSmcTemplate(SqlMapClientTemplate smcTemplate) {
        this.smcTemplate = smcTemplate;
    }

}
